@bg-color: #b7d4a8;

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  font: bold 20px "Courier New";
}
.main{
  width: 360px;
  height: 420px;
  margin: 100px auto;
  background: @bg-color;
  border: 10px solid #000000;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}
.stage{
  width: 304px;
  height: 304px;
  position: relative;
  border: 2px solid #000000;
  .snake{
    &>div{
      width: 10px;
      height: 10px;
      position: absolute;
      background: #000000;
      border: 1px solid @bg-color;
    }
  }
}
.food{
  width: 10px;
  height: 10px;
  position: absolute;
  background: @bg-color;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-content: space-between;
  left: 40px;
  top: 100px;
  &>div{
    width: 4px;
    height: 4px;
    background: #000000;
    transform: rotate(45deg);
  }
}
.score{
  width: 304px;
  display: flex;
  justify-content: space-between;
}